import axios from 'axios';
axios.defaults.baseURL='http://localhost:3000';

export default {
    getStudentList () {
        return axios.get('/student/studentLists');
    },
    addStudent(params){
        return axios.post("/student/addStudent",params);
    },
    deleteStudent(params){
        return axios.post("/student/deleteStudent",params);
    },
    editStudent(params){
        return axios.post("/student/editStudent",params);
    }
}